<?php

namespace pam\Form;

/**
 * Description of ResearchForm
 *
 * @author Robert Bwana
 */

use Zend\Form\Form;

class ResearchForm extends Form{
    public function __construct($name = null, $options = array()) {
        parent::__construct($name, $options);
        
        $this->add(array(
            'name' => 'research-fieldset',
            'type' => 'pam\Form\ResearchFieldset',
            'options' => array(
                'use_as_base_fieldset' => true
            )
        ));
        
        $this->add(array(
            'name' => 'submit',
            'type' => 'Submit',
            'attributes' => array(
                'value' => 'Save',
            )
        ));
  
    }
}
